package com.pair.micro.common.exception;

import com.pair.micro.common.constant.MicroSystemError;
import lombok.Getter;

/**
 * 类描述
 * @author xubz
 * @since
 */
public class MicroUpgradeException extends RuntimeException {

    @Getter
    private MicroSystemError microSystemError;

    public MicroUpgradeException() {
        super(MicroSystemError.SYS_00105.getMsg());
    }

    public MicroUpgradeException(MicroSystemError microSystemError) {
        super(microSystemError.getMsg());
        this.microSystemError = microSystemError;
    }
}
